<?php
	require_once("../connection.php");
	
	$nick_name = $_POST['nick_name'];
	$fbid = $_POST['fbid'];
	
	$result = mysql_query("UPDATE site_user_meta SET `nick_name`='$nick_name' WHERE `fbid`='$fbid'");
	if(!$result) echo  mysql_error();
?>